<?php
class History {
    private $ip;
    private $user_agent;
    private $locale;

    public function __construct() {
        $this->ip="000.000.000.000";
        $this->user_agent="Not available";
        $this->locale="";
    }

      public function getIp() {
        return $this->ip;
    }

    public function getUserAgent(){
        return $this->user_agent;
    }

    public function getLocale(){
        return $this->locale;
    }

    public function setIp($ip){
        $this->ip=$ip;
    }

    public function setUserAgent($user_agent){
        $this->user_agent=$user_agent;
    }

    public function setLocale($locale){
        $this->locale=$locale;
    }

}
?>
